package org.example.minebackend.pojo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class DetailOfRecipe {
    private Integer id;
    private String name;
    @JsonProperty("nOfCollections")
    private Integer nOfCollections;
    private String displayImage;
    List<IngredientOfRecipe> ingredients;
    List<Step> steps;
}
